package com.atwl.school_system.util;

public enum HttpStatus {
    SERVER_ERROR(405, "未知异常，请联系管理员"),
    NOT_FOUND(404, "页面不存在");

    private Integer code;
    private String msg;

    HttpStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
